<script setup>
</script>

<template>
  <div class="main">
    <div class="head">
      <div class="title">
        <span>Siemens IQ Production Edge APP </span><section></section>
      </div>
      <div class="button-list">
        <router-link to="/real" class="router-link">实时画面</router-link>
        <router-link to="/ai" class="router-link">模型优化分析</router-link>
        <router-link to="/ems" class="router-link">智能设备运维</router-link>
        <router-link to="/spc" class="router-link">智能过程质量</router-link>
        <router-link to="/recipe" class="router-link">配方管理</router-link>
        <router-link to="/wo" class="router-link">工单管理</router-link>
        <router-link to="/config" class="router-link">系统配置</router-link>
      </div>
    </div>
    <div class="content">
      <router-view></router-view>
    </div>
  </div>
</template>

<style scoped>
.main {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
}

.head {
  display: flex;
  height: 48px;
  background-color: #009999;
  justify-content: space-between;
}

.content {
  display: flex;
  height: calc(100vh - 48px);
}

.router-link {
  color: white; 
  line-height: 48px;
  margin-right: 10px;
  
}

.title span {
  line-height: 48px;
  margin-left: 10px;
  color: white;
  font-weight: bolder;
  font-size:larger;
}
</style>
